Error: There were compilation errors during the...(due to modules not compiled),
Error:
There were compilation errors during the conversion or enabling of this database
Cause:
Some of the Access 2.0 modules are not compiled.
Solution:
Open the database in Access 2.0, compile all the form and report modules that contain Access Basic codes, and convert the database to Access 7.0 again.
1) Open the database in Access 2.0:
a) In Access 2.0, select the 'File' menu and select 'Open Database...'. (The Open Database dialog box appears.)
the Open Database dialog box
b) Select the drive where the database is located from the 'Drive' drop-down list.
c) Double-click on the directory where the database is located from the 'Directories' list box. (The file is displayed in the File Name list box.)
NOTE: If the file is in a subdirectory, continue double-clicking on directories until the file is displayed.
d) Select the file from the 'File Name' list box. (The filename appears in the File Name box.)
e) Click 'OK'. (The database opens in Access 2.0.)
2) In the Database window, click the 'Module' tab.
the Module tab
3) Select a module. (The module is highlighted.)
4) Click 'Design'.
5) In the Module Design view, select the 'Run' menu and select 'Compile Loaded Modules'.
6) Close the database in Access 2.0.
a) (Optional) Switch to the Database window by selecting the 'Window' menu and selecting the name of the database.
b) Select the 'File' menu and select 'Close Database'.
7) Convert the Access 2.0 database to Access 7.0:
a) In Access 7.0, select the 'Tools' menu and select 'Database Utilities'. (A submenu appears.)
b) Select 'Convert Database...'. (The Database to Convert From dialog box appears.)
c) Select the drive where the desired database is located from the 'Look in' drop-down list.
d) Select the folder containing the database to convert from the 'Look in' list box. (The database file is displayed.)
NOTE: If the file is in a subfolder, continue selecting folders until the file is displayed.
Selecting a folder
e) Select the database to convert from the 'Look in' list box. (The file is highlighted.)
f) Click 'Convert'. (The Convert Database Into dialog box appears.)
g) Type a name for the converted copy of the database in the 'File name' drop-down list box.
the File name drop-down list box
h) Click 'Save'.